package com.siyuanren.gcocp.mapper.base;

import com.siyuanren.gcocp.entity.WxHomeworkQuestion;
import com.siyuanren.gcocp.entity.WxHomeworkQuestionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface WxHomeworkQuestionMapper {
    long countByExample(WxHomeworkQuestionExample example);

    int deleteByExample(WxHomeworkQuestionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WxHomeworkQuestion record);

    int insertSelective(WxHomeworkQuestion record);

    List<WxHomeworkQuestion> selectByExample(WxHomeworkQuestionExample example);

    WxHomeworkQuestion selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WxHomeworkQuestion record, @Param("example") WxHomeworkQuestionExample example);

    int updateByExample(@Param("record") WxHomeworkQuestion record, @Param("example") WxHomeworkQuestionExample example);

    int updateByPrimaryKeySelective(WxHomeworkQuestion record);

    int updateByPrimaryKey(WxHomeworkQuestion record);
}